HTMLify

index.html
Views: 43 | Author: cody
<!DOCTYPE html>
<html>

<head>
    <meta charset='utf-8'>
    <meta http-equiv='X-UA-Compatible' content='IE=edge'>
    <title>Sliding Tabs Using Pure CSS</title>
    <meta name='viewport' content='width=device-width, initial-scale=1'>
    <link rel='stylesheet' type='text/css' media='screen' href='style.css'>
</head>

<body>

    <div class="tabs">
        <input type="radio" id="radio-1" name="tabs" checked />

        <label class="tab" for="radio-1">Tab One</label>
        <input type="radio" id="radio-2" name="tabs" />

        <label class="tab" for="radio-2">Tab Two</label>
        <input type="radio" id="radio-3" name="tabs" />

        <label class="tab" for="radio-3">Tab Three</label>
        <span class="glider"></span>
    </div>

</body>

</html>

Comments